﻿<%@ Page Title="Conversation" Language="C#" EnableEventValidation="false" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Conversation.aspx.cs" Inherits="Yeti_v0._01.Conversation"%>

<asp:Content ID="Content1" ContentPlaceHolderID="Header" runat="server">
    <script type="text/javascript" src="Scripts/jquery.js"></script>
    <script type="text/javascript" src="Scripts/answer.js"></script>
    <script language="javascript" type="text/javascript">
// <![CDATA[

        function send_onclick() {

        }

// ]]>
    </script>
</asp:Content>

<asp:Content id="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="center" runat="server">
        <div id="yeti_avatar" runat="server">
            <img src="images/yeti400.png" />
        </div >
        <div>
            <form id="form1" runat="server" DefaultButton="Button1">
             <asp:ScriptManager EnablePartialRendering="true" ID="ScriptManager1" runat="server">
             </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="Server" UpdateMode="Conditional" >
                <ContentTemplate>
                    <asp:Panel id="conversation" runat="server" ScrollBars="Auto" >
                    </asp:Panel>
                    <div id="userInputs">
                        <asp:TextBox id="question_input1" runat="server" Width="300px"  /><br/>
                        <asp:Button id="Button1" OnClick="Button1_Click1" 
                            Style="background-image: url(Images/buttonSEND.png); background-size: 105px 32px;" runat="server" 
                            Height="32px" Width="105px"/> 
                        <!--<asp:Button ID="sendLogButton" runat="server" 
                                Text="Send Log" onclick="sendLogButton_Click" /> -->
                        <asp:Button ID="clearConversationButton" runat="server" 
                            onclick="clearConversationButton_Click" 
                            Style="background-image: url(Images/buttonCLEAR.png); background-size: 105px 32px;" Text="" Height="32px" 
                            Width="105px" />
                    </div>
                    
                </ContentTemplate>
<%--                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
                </Triggers>--%>
            </asp:UpdatePanel>
            </form>
        </div>
       <!-- <div id="conversation_input" runat="server">
            <input id="question_input" runat="server" />
            <button id="send" title="send" runat="server" onclick="return send_onclick()">kliknij</button>                     
        &nbsp;DEBUG MODE
           
        </div> -->
       

        
    </div>

</asp:Content>
